﻿package Classes {
	
	import flash.display.MovieClip;
	
	
	public class GameResult extends MovieClip {
		
		
		public function GameResult() {
			// constructor code
		}
		
		public function setResult(ret:int)
		{
			if(ret==0){
				gotoAndStop("peace");
			}
			if(ret<0) {
				gotoAndStop("lose");
			}
			if(ret>0) {
				gotoAndStop("win");
			}
		}
	}
	
}
